import request from '@/utils/request'

// 查询补卡申请列表
export function listReissueCard(query) {
  return request({
    url: '/reissue/ReissueCard/list',
    method: 'get',
    params: query
  })
}

// 查询补卡申请详细
export function getReissueCard(id) {
  return request({
    url: '/reissue/ReissueCard/' + id,
    method: 'get'
  })
}

// 新增补卡申请
export function addReissueCard(data) {
  return request({
    url: '/reissue/ReissueCard',
    method: 'post',
    data: data
  })
}

// 修改补卡申请
export function updateReissueCard(data) {
  return request({
    url: '/reissue/ReissueCard',
    method: 'put',
    data: data
  })
}

// 删除补卡申请
export function delReissueCard(id) {
  return request({
    url: '/reissue/ReissueCard/' + id,
    method: 'delete'
  })
}
